#pragma once

#include <QWidget>
#include "BasicWindow.h"
#include "ui_UserLogin.h"
#include <QLabel>

extern QString userA;

class UserLogin : public BasicWindow
{
	Q_OBJECT

public:
	UserLogin(QWidget *parent = Q_NULLPTR);
	~UserLogin();

private:
	Ui::UserLogin ui;
	void initControl();

	QLabel *head;

	bool connectMySql();
	bool verifyAccountCode();

private slots:
	void onLoginBtnClicked();
};
